package com.walter.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author ：ch
 * @date ：Created in 2021/5/25
 * @description：
 * @modified By：
 * @version: 1.0
 */
@Data
@Accessors(chain = true)
public class JVMInfo {
    @ApiModelProperty("JVM总线程数")
    private long threadsTotal;

    @ApiModelProperty("JVM当前活跃线程数量")
    private long threadsLive;

    @ApiModelProperty("JVM守护线程数量")
    private long threadsDaemon;

    @ApiModelProperty("JVM峰值线程数量")
    private long threadsPeak;

    @ApiModelProperty("JVM已加载Class数量")
    private long clsCurrLoaded;

    @ApiModelProperty("JVM未加载Class数量")
    private long clsUnloaded;

    @ApiModelProperty("JVM总加载Class数量")
    private long clsTotalLoaded;

    @ApiModelProperty("最新更新时间")
    private Date lastUpdateTime;
}
